<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
  <title>MGED Tcl Variables</title>
  <style type="text/css">
  body {
  background-color: #E0D8C8;
  color: #000000;
  }
  a.c2 {font-weight: bold}
  div.c1 {text-align: center}
  </style>
</head>
<body>
  <div class="c1">
    <h2>MGED Tcl Variables</h2>
  </div>The use of <i>pathName</i> in this document refers to the
  Tcl/Tk pathname of a display manager window.<br>
  <br>
  <dl>
    <dt><a class="c2" name="local2base">local2base</a></dt>
    <dd><a name="local2base"><i>local2base</i> specifies the
    conversion factor that converts local units to base units (i.e.
    millimeters).</a></dd>
    <dt><a name="local2base"><br>
    <br></a></dt>
    <dt><a class="c2" name="base2local">base2local</a></dt>
    <dd><a name="base2local"><i>base2local</i> specifies the
    conversion factor that converts base units (i.e. millimeters)
    to local units.</a></dd>
    <dt><a name="base2local"><br>
    <br></a></dt>
    <dt><a class="c2" name="localunit">localunit</a></dt>
    <dd><a name="localunit"><i>localunit</i> indicates the local
    units.</a></dd>
    <dt><a name="localunit"><br>
    <br></a></dt>
    <dt><a class="c2" name="edit_class">edit_class</a></dt>
    <dd><a name="edit_class"><i>edit_class</i> specifies the class
    of edit that is in effect. For example, 0 signifies none, 1
    signifies translation, 2 signifies rotation and 3 signifies
    scale.</a></dd>
    <dt><a name="edit_class"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "edit_solid_flag">edit_solid_flag</a></dt>
    <dd><a name="edit_solid_flag"><i>edit_solid_flag</i> specifies
    the type of edit to perform on the solid being edited.
    <i>edit_solid_flag</i> is linked to MGED's internal variable
    es_edflag.</a></dd>
    <dt><a name="edit_solid_flag"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "edit_object_flag">edit_object_flag</a></dt>
    <dd><a name="edit_object_flag"><i>edit_object_flag</i>
    specifies the type of edit to perform on the object being
    edited. <i>edit_object_flag</i> is linked to MGED's internal
    variable edobj.</a></dd>
    <dt><a name="edit_object_flag"><br>
    <br></a></dt>
    <dt><a class="c2" name="edit_info">edit_info</a></dt>
    <dd><a name="edit_info"><i>edit_info</i> contains detailed
    information about the current solid/object being
    edited.</a></dd>
    <dt><a name="edit_info"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "glob_compat_mode">glob_compat_mode</a></dt>
    <dd><a name="glob_compat_mode"><i>glob_compat_mode</i>
    indicates whether or not to perform globbing against the
    database.</a></dd>
    <dt><a name="glob_compat_mode"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(state)">mged_display(state)</a></dt>
    <dd><a name="mged_display(state)"><i>mged_display(state)</i>
    specifies the state of MGED. The state string will be one of
    the six values listed below.</a></dd>
  </dl>
  <ul>
    <li>VIEWING</li>
    <li>SOL PICK</li>
    <li>SOL EDIT</li>
    <li>OBJ PICK</li>
    <li>OBJ PATH</li>
    <li>OBJ EDIT</li>
  </ul>
  <dl>
    <dd><br>
    <br></dd>
    <dt><a class="c2" name=
    "mged_display(pathName,fps)">mged_display(pathName,fps)</a></dt>
    <dd><a name=
    "mged_display(pathName,fps)"><i>mged_display(pathName,fps)</i>
    specifies the frames per second that MGED is able to
    display.</a></dd>
    <dt><a name="mged_display(pathName,fps)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(pathName,aet)">mged_display(pathName,aet)</a></dt>
    <dd><a name=
    "mged_display(pathName,aet)"><i>mged_display(pathName,aet)</i>
    specifies the current azimuth, elevation and twist for
    <i>pathName</i>.</a></dd>
    <dt><a name="mged_display(pathName,aet)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(pathName,ang)">mged_display(pathName,ang)</a></dt>
    <dd><a name=
    "mged_display(pathName,ang)"><i>mged_display(pathName,ang)</i>
    indicates the rates of view rotation.</a></dd>
    <dt><a name="mged_display(pathName,ang)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(pathName,center)">mged_display(pathName,center)</a></dt>
    <dd><a name=
    "mged_display(pathName,center)"><i>mged_display(pathName,center)</i>
    indicates the view center.</a></dd>
    <dt><a name="mged_display(pathName,center)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(pathName,size)">mged_display(pathName,size)</a></dt>
    <dd><a name=
    "mged_display(pathName,size)"><i>mged_display(pathName,size)</i>
    indicates the view size.</a></dd>
    <dt><a name="mged_display(pathName,size)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(pathName,adc)">mged_display(pathName,adc)</a></dt>
    <dd><a name=
    "mged_display(pathName,adc)"><i>mged_display(pathName,adc)</i>
    specifies information about the angle distance cursor.</a></dd>
    <dt><a name="mged_display(pathName,adc)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(path_lhs)">mged_display(path_lhs)</a></dt>
    <dd><a name=
    "mged_display(path_lhs)"><i>mged_display(path_lhs)</i>
    indicates the left hand side path.</a></dd>
    <dt><a name="mged_display(path_lhs)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(path_rhs)">mged_display(path_rhs)</a></dt>
    <dd><a name=
    "mged_display(path_rhs)"><i>mged_display(path_rhs)</i>
    indicates the right hand side path.</a></dd>
    <dt><a name="mged_display(path_rhs)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(units)">mged_display(units)</a></dt>
    <dd><a name="mged_display(units)"><i>mged_display(units)</i>
    indicates the local units.</a></dd>
    <dt><a name="mged_display(units)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_display(keypoint)">mged_display(keypoint)</a></dt>
    <dd><a name=
    "mged_display(keypoint)"><i>mged_display(keypoint)</i>
    indicates the point from which edits will take place.</a></dd>
    <dt><a name="mged_display(keypoint)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(geom)">mged_default(geom)</a></dt>
    <dd><a name="mged_default(geom)"><i>mged_default(geom)</i> is
    used to specify the size and position of the command
    window.</a></dd>
    <dt><a name="mged_default(geom)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(ggeom)">mged_default(ggeom)</a></dt>
    <dd><a name="mged_default(ggeom)"><i>mged_default(ggeom)</i> is
    used to specify the size and position of the geometry
    window.</a></dd>
    <dt><a name="mged_default(ggeom)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(id)">mged_default(id)</a></dt>
    <dd><a name="mged_default(id)"><i>mged_default(id)</i>
    indicates the base id to use if the user didn't provide an id
    to the</a><a name="mged_default(id)"></a> <a href=
    "mged_cmd_index.html#gui">gui</a> command. For example, if
    mged_default(id) is set to myId, then the following id's will
    be created as needed: myId_0, myId_1, myId_2 etc.</dd>
    <dd><br>
    <br></dd>
    <dt><a class="c2" name=
    "mged_default(pane)">mged_default(pane)</a></dt>
    <dd><a name="mged_default(pane)"><i>mged_default(pane)</i>
    indicates the initial active pane. The keywords, ul, ur, ll,
    and lr are the only acceptable values. The keywords refer to
    ''upper left'', ''upper right'', ''lower left'' and ''lower
    right'' respectively.</a></dd>
    <dt><a name="mged_default(pane)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(multi_pane)">mged_default(multi_pane)</a></dt>
    <dd><a name=
    "mged_default(multi_pane)"><i>mged_default(multi_pane)</i>
    indicates whether to show four smaller geometry windows at the
    same time or to show one larger geometry window.</a></dd>
    <dt><a name="mged_default(multi_pane)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(config)">mged_default(config)</a></dt>
    <dd><a name="mged_default(config)"><i>mged_default(config)</i>
    indicates the initial configuration of the MGED GUI. A value of
    ''g'' indicates that only the geometry window is shown, ''c''
    indicates that only the command window is shown, and ''b''
    indicates that both the geometry and command windows are shown.
    Note - this initial configuration specification only has affect
    when the command window and geometry windows are combined
    together in a single top level window. See the</a><a name=
    "mged_default(config)"></a> <a href=
    "mged_tcl_vars.html#mged_default(comb)">mged_default(comb)</a>
    variable.</dd>
    <dd><br>
    <br></dd>
    <dt><a class="c2" name=
    "mged_default(display)">mged_default(display)</a></dt>
    <dd><a name=
    "mged_default(display)"><i>mged_default(display)</i> indicates
    where to display the command window and other tools.</a></dd>
    <dt><a name="mged_default(display)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(gdisplay)">mged_default(gdisplay)</a></dt>
    <dd><a name=
    "mged_default(gdisplay)"><i>mged_default(gdisplay)</i>
    indicates where to display the geometry window if not combined
    with the command window. See the</a><a name=
    "mged_default(gdisplay)"></a> <a href=
    "mged_tcl_vars.html#mged_default(comb)">mged_default(comb)</a>
    variable.</dd>
    <dd><br>
    <br></dd>
    <dt><a class="c2" name=
    "mged_default(dm_type)">mged_default(dm_type)</a></dt>
    <dd><a name=
    "mged_default(dm_type)"><i>mged_default(dm_type)</i> indicates
    the default display manager type.</a></dd>
    <dt><a name="mged_default(dm_type)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(comb)">mged_default(comb)</a></dt>
    <dd><a name="mged_default(comb)"><i>mged_default(comb)</i>
    indicates whether or not to combine the command window with the
    geometry window in a single top level window.</a></dd>
    <dt><a name="mged_default(comb)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(edit_style)">mged_default(edit_style)</a></dt>
    <dd><a name=
    "mged_default(edit_style)"><i>mged_default(edit_style)</i>
    indicates the initial edit style. The edit style determines the
    behavior of command line editing. The two possible values are
    ''emacs'' and ''vi''.</a></dd>
    <dt><a name="mged_default(edit_style)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(num_lines)">mged_default(num_lines)</a></dt>
    <dd><a name=
    "mged_default(num_lines)"><i>mged_default(num_lines)</i>
    indicates the number of lines to use in the command
    window.</a></dd>
    <dt><a name="mged_default(num_lines)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(tearoff_menus)">mged_default(tearoff_menus)</a></dt>
    <dd><a name=
    "mged_default(tearoff_menus)"><i>mged_default(tearoff_menus)</i>
    indicates whether or not to use tearoff menus. A tearoff menu
    is one that has the ability to become a top level window. That
    is, it can remain active and be placed anywhere on the
    screen.</a></dd>
    <dt><a name="mged_default(tearoff_menus)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(html_dir)">mged_default(html_dir)</a></dt>
    <dd><a name=
    "mged_default(html_dir)"><i>mged_default(html_dir)</i>
    indicates the directory wherein to look for the MGED
    manual.</a></dd>
    <dt><a name="mged_default(html_dir)"><br>
    <br></a></dt>
    <dt><a class="c2" name=
    "mged_default(web_browser)">mged_default(web_browser)</a></dt>
    <dd><a name=
    "mged_default(web_browser)"><i>mged_default(web_browser)</i>
    indicates the web browser to use for viewing
    documentation.</a></dd>
    <dt><a name="mged_default(web_browser)"><br>
    <br></a></dt>
    <dt><a name="mged_default(web_browser)"></a></dt>
  </dl>
</body>
</html>
